package com.hitown.ftp.test;

import com.hitown.model.dxhd.DxhdYjczya;
import org.junit.jupiter.api.Test;

import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;

public class App {
    @Test
    public void test(){
        System.out.println("sdsd-sdsd-sdsd".replaceAll("-",""));
    }

    public static void main(String[] args) throws ClassNotFoundException {
        DxhdYjczya c1 = new DxhdYjczya();
        Class c2 = DxhdYjczya.class;
        Class c3 = Class.forName("com.hitown.model.dxhd.DxhdYjczya");

        Method[] aa = c2.getMethods();
        for (int i = 0; i < aa.length; i++) {
            System.out.println(aa[i]);
        }
//        try {
//            System.out.println(c3.newInstance());
//        } catch (InstantiationException e) {
//            e.printStackTrace();
//        } catch (IllegalAccessException e) {
//            e.printStackTrace();
//        }

//        List<Integer> aa = new ArrayList();
//        aa.add(1);
//        aa.add(2);
//        //Iterable<Integer> iterable = aa.iterator();
//        Iterator<Integer> iterable = aa.iterator();
//
//        while (iterable.hasNext()) {
//            System.out.println(iterable.next());
//        }


        //  DxhdYjczya s = c3.newInstance();
     //   System.out.println(c2);
      //  System.out.println(c3.);
    }
}
